package edu.wong.pro.iservice;

import java.util.List;

import net.sf.json.JSONArray;
import edu.wong.pro.model.Member;

public interface IMember {
	//添加会员
	public void addMember(String name,String number);
	//通过Id查找会员
	public Member findMemberByID(String memID);
	//完善会员信息
	public void improveMember( String number,String password,String name,String sex,
			String borth,String homeaddr,String indate,String shschool,String college,
			String major,String schooladdr,String phone,String cornet,String email,
			String workaddr,String worktype,String position,String detail);
	//修改会员信息
	public void modifyMember( String number,String name,String sex, String borth,
			String homeaddr,String indate,String shschool,String college,
			String major,String schooladdr,String phone,String cornet,String email,
			String workaddr,String worktype,String position,String detail);
	//换取所有会员信息
	List<Member> getAllMember(String name,String indate,String college,String major);
	//统计数据
	JSONArray getStatistics(String flag);
}
